package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author zzg
 * @date 2021/7/13 17:40
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{

    @Override
    public String paymentInfoOk(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfoOk,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfoTimeOut(Integer id) {
        return "----PaymentFallbackService fall back-paymentInfoTimeOut,o(╥﹏╥)o";
    }
}
